package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.*;

/**
 * 用户基本信息
 */
@ApiModel(description = "用户基本信息")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiRequestLabelHandData   {
  @JsonProperty("customerId")
  private String customerId = null;

  @JsonProperty("label")
  private String label = null;

  public ApiRequestLabelHandData customerId(String customerId) {
    this.customerId = customerId;
    return this;
  }

  /**
   * 客户号
   * @return customerId
  **/
  @ApiModelProperty(required = true, value = "客户号")
  @NotNull


  public String getCustomerId() {
    return customerId;
  }

  public void setCustomerId(String customerId) {
    this.customerId = customerId;
  }

  public ApiRequestLabelHandData label(String label) {
    this.label = label;
    return this;
  }

  /**
   * 标签
   * @return label
  **/
  @ApiModelProperty(required = true, value = "标签")
  @NotNull


  public String getLabel() {
    return label;
  }

  public void setLabel(String label) {
    this.label = label;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiRequestLabelHandData apiRequestLabelHandData = (ApiRequestLabelHandData) o;
    return Objects.equals(this.customerId, apiRequestLabelHandData.customerId) &&
        Objects.equals(this.label, apiRequestLabelHandData.label);
  }

  @Override
  public int hashCode() {
    return Objects.hash(customerId, label);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiRequestLabelHandData {\n");
    
    sb.append("    customerId: ").append(toIndentedString(customerId)).append("\n");
    sb.append("    label: ").append(toIndentedString(label)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

